public class Training02 {
    public static void main(String[] args) {
        int s1 = (int) getArea(3,4);
         double s2 =getArea(3.6,6.5);
        System.out.println("S1 = "+ s1);
        System.out.println("S2 = "+ s2);
    }
    private static  double getArea(double a,double b){
    return a*b/2;
    }
    private static  double getArea(int a, int b){
    return a*b/2;
    }
}
